//
//  UILabel+extention.swift
//  网易新闻项目
//
//  Created by 薄文飞 on 16/3/6.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

extension UILabel {

    convenience init(text : String? , textColor : UIColor?) {
        
        self.init()
        self.textColor = textColor
        
        self.text = text
        
        self.font = UIFont.systemFontOfSize(15)
    
        self.numberOfLines = 0
        
        self.textAlignment = .Center
    }
}
